home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6005 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: newton.whit.org!krw
  2. From: krw@PROBLEM_WITH_INEWS_DOMAIN_FILE (Kenneth Whittaker)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: TCP/IP: source code for Ping
  5. Date: 23 Feb 1996 08:07:20 GMT
  6. Organization: CSAC
  7. Message-ID: <4gjsjo$1kk@natasha.rmii.com>
  8. References: <824680751.4864@rockmr1.demon.co.uk>
  9. NNTP-Posting-Host: newton.whit.org
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Mark Routen (Mark@rockmr1.demon.co.uk) wrote:
  13. : Has anyone out there got the source code for ping.
  14.  
  15. : I'm newish to C and I want to have a look at writting a easy ping 
  16. : application.
  17.  
  18. : Just to see how to access TCP/IP.
  19.  
  20. : If you can help I'd be greatfull.
  21.  
  22.  
  23. : Cheers 
  24.  
  25. : Mark.
  26.  
  27. I just got it from sol.ctr.columbia.edu in the directory /pub/net
  28.  
  29. Just a quick lesson FROM a newbie so you can find things for yourself.
  30.  
  31. <from inside most unix environments>
  32. script ping.txt
  33. telnet archie.rutgers.edu
  34. // hit enter to get invalid login
  35. <enter>
  36. // log in as archie
  37. archie<enter>
  38. // no password will be required
  39. prog ping
  40. // after text scrolls like crazy
  41. exit
  42. // exit from script shell
  43. exit
  44. view your file for ftp sites
  45. vi ping.txt
  46.  
  47. There, you have probably found a file called ping.tar.z
  48. You can ftp it.. then gzip -d ping.tar.z to uncompress it.
  49.  
  50. Ken.
  51. --
  52. /--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\
  53. \   The Whittaker's domain!                                                /
  54. /   Try our MUD (Multi User Domain)                                        \
  55. \   Come to:                                                               /
  56. /   aGe oF iNsaNitY                                                        \
  57. \   telnet to: newton.whit.org 4000                                        /
  58. /--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\
  59.